Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [0.48.0](https://github.com/IBM/networking-java-sdk/compare/0.47.0...0.48.0) (2026-06-09)


### Features

* Add logpush-jobs-api module for CIS Logpush Jobs ([a51990b](https://github.com/IBM/networking-java-sdk/commit/a51990b0821dbf1eedb0e5cb438c1ec8b18a8955))

# [0.47.0](https://github.com/IBM/networking-java-sdk/compare/0.46.0...0.47.0) (2026-05-05)


Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2025.
* (C) Copyright IBM Corp. 2026.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2025.
* (C) Copyright IBM Corp. 2026.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2025.
* (C) Copyright IBM Corp. 2026.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down Expand Up @@ -480,9 +480,10 @@ public String baseNetworkType() {
/**
* Gets the cidr.
*
* network_type 'vpn_gateway' connections use 'cidr' to specify the CIDR to use for the VPN GRE tunnels.
* network_type `vpn_gateway` connections use `cidr` to specify the CIDR to use for the VPN gateway GRE tunnels.
*
* This field is required for network type `vpn_gateway` connections.
* This field is optional for network type `vpn_gateway` connections. If unspecified, the default value is
* 198.19.174.0/23.
*
* This field is required to be unspecified for network type `classic`, `directlink`, `vpc`, `power_virtual_server`,
* `gre_tunnel`, `unbound_gre_tunnel`, and `redundant_gre` connections.
Expand Down Expand Up @@ -557,11 +558,11 @@ public String networkAccountId() {
/**
* Gets the networkId.
*
* The ID of the network being connected via this connection. For network types `vpc`,`power_virtual_server`,
* `directlink` and `vpn_gateway` this is the CRN of the VPC / PowerVS / VDC / Direct Link / VPN gateway respectively.
* This field is required for network type `vpc`, `power_virtual_server`, `vpn_gateway`, and `directlink` connections.
* It is also required for `redundant_gre` connections when the base_network_type is set to VPC. This field is
* required to be unspecified for network type `classic`, `gre_tunnel` and `unbound_gre_tunnel` connections.
* The ID of the network being connected via this connection. For network types `vpc`, `vpn_gateway`,
* `power_virtual_server` and `directlink` this is the CRN of the VPC / VPN / PowerVS / Direct Link gateway
* respectively. This field is required for network type `vpc`, `power_virtual_server`, `vpn_gateway` and `directlink`
* connections. It is also required for `redundant_gre` connections when the base_network_type is set to VPC. This
* field is required to be unspecified for network type `classic`, `gre_tunnel` and `unbound_gre_tunnel` connections.
*
* @return the networkId
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2025.
* (C) Copyright IBM Corp. 2026.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2025.
* (C) Copyright IBM Corp. 2026.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2025.
* (C) Copyright IBM Corp. 2026.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand All @@ -24,6 +24,7 @@ public class CreateTransitGatewayOptions extends GenericModel {
protected String name;
protected Boolean global;
protected Boolean greEnhancedRoutePropagation;
protected String redundancyGroup;
protected ResourceGroupIdentity resourceGroup;

/**
Expand All @@ -34,6 +35,7 @@ public static class Builder {
private String name;
private Boolean global;
private Boolean greEnhancedRoutePropagation;
private String redundancyGroup;
private ResourceGroupIdentity resourceGroup;

/**
Expand All @@ -46,6 +48,7 @@ private Builder(CreateTransitGatewayOptions createTransitGatewayOptions) {
this.name = createTransitGatewayOptions.name;
this.global = createTransitGatewayOptions.global;
this.greEnhancedRoutePropagation = createTransitGatewayOptions.greEnhancedRoutePropagation;
this.redundancyGroup = createTransitGatewayOptions.redundancyGroup;
this.resourceGroup = createTransitGatewayOptions.resourceGroup;
}

Expand Down Expand Up @@ -119,6 +122,17 @@ public Builder greEnhancedRoutePropagation(Boolean greEnhancedRoutePropagation)
return this;
}

/**
* Set the redundancyGroup.
*
* @param redundancyGroup the redundancyGroup
* @return the CreateTransitGatewayOptions builder
*/
public Builder redundancyGroup(String redundancyGroup) {
this.redundancyGroup = redundancyGroup;
return this;
}

/**
* Set the resourceGroup.
*
Expand All @@ -142,6 +156,7 @@ protected CreateTransitGatewayOptions(Builder builder) {
name = builder.name;
global = builder.global;
greEnhancedRoutePropagation = builder.greEnhancedRoutePropagation;
redundancyGroup = builder.redundancyGroup;
resourceGroup = builder.resourceGroup;
}

Expand Down Expand Up @@ -199,6 +214,20 @@ public Boolean greEnhancedRoutePropagation() {
return greEnhancedRoutePropagation;
}

/**
* Gets the redundancyGroup.
*
* Include the global transit gateway in this redundancy group. When set, this transit gateway will be redundant to
* other transit gateways in this redundancy group. If this redundancy group doesn't exist in the account, it will be
* created. This property can only be set for global transit gateways and the transit gateway cannot be in a location
* already used by a global transit gateway in this redundancy group.
*
* @return the redundancyGroup
*/
public String redundancyGroup() {
return redundancyGroup;
}

/**
* Gets the resourceGroup.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2025.
* (C) Copyright IBM Corp. 2026.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2025.
* (C) Copyright IBM Corp. 2026.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2025.
* (C) Copyright IBM Corp. 2026.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2025.
* (C) Copyright IBM Corp. 2026.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2025.
* (C) Copyright IBM Corp. 2026.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2025.
* (C) Copyright IBM Corp. 2026.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2025.
* (C) Copyright IBM Corp. 2026.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
/*
* (C) Copyright IBM Corp. 2026.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/

package com.ibm.cloud.networking.transit_gateway_apis.v1.model;

import com.ibm.cloud.sdk.core.service.model.GenericModel;

/**
* The getRedundancyGroup options.
*/
public class GetRedundancyGroupOptions extends GenericModel {

protected String id;

/**
* Builder.
*/
public static class Builder {
private String id;

/**
* Instantiates a new Builder from an existing GetRedundancyGroupOptions instance.
*
* @param getRedundancyGroupOptions the instance to initialize the Builder with
*/
private Builder(GetRedundancyGroupOptions getRedundancyGroupOptions) {
this.id = getRedundancyGroupOptions.id;
}

/**
* Instantiates a new builder.
*/
public Builder() {
}

/**
* Instantiates a new builder with required properties.
*
* @param id the id
*/
public Builder(String id) {
this.id = id;
}

/**
* Builds a GetRedundancyGroupOptions.
*
* @return the new GetRedundancyGroupOptions instance
*/
public GetRedundancyGroupOptions build() {
return new GetRedundancyGroupOptions(this);
}

/**
* Set the id.
*
* @param id the id
* @return the GetRedundancyGroupOptions builder
*/
public Builder id(String id) {
this.id = id;
return this;
}
}

protected GetRedundancyGroupOptions() { }

protected GetRedundancyGroupOptions(Builder builder) {
com.ibm.cloud.sdk.core.util.Validator.notEmpty(builder.id,
"id cannot be empty");
id = builder.id;
}

/**
* New builder.
*
* @return a GetRedundancyGroupOptions builder
*/
public Builder newBuilder() {
return new Builder(this);
}

/**
* Gets the id.
*
* The redundancy group identifier.
*
* @return the id
*/
public String id() {
return id;
}
}

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2025.
* (C) Copyright IBM Corp. 2026.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2025.
* (C) Copyright IBM Corp. 2026.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2025.
* (C) Copyright IBM Corp. 2026.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2025.
* (C) Copyright IBM Corp. 2026.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2025.
* (C) Copyright IBM Corp. 2026.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2025.
* (C) Copyright IBM Corp. 2026.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2025.
* (C) Copyright IBM Corp. 2026.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Loading
Loading