Skip to content

Commit b7ecdb8

Browse files
committed
由梅熙发起的EMR SDK自动发布, 版本号:2.3.2
发布日志: 1, Add E-MapReduce cluster statistical interfaces. 2, Add new workflow system.
1 parent 1f9d0fc commit b7ecdb8

761 files changed

Lines changed: 68038 additions & 6793 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

aliyun-java-sdk-emr/ChangeLog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2018-04-09 Version: 2.3.2
2+
1, Add E-MapReduce cluster statistical interfaces.
3+
2, Add new workflow system.
4+

aliyun-java-sdk-emr/pom.xml

Lines changed: 44 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<groupId>com.aliyun</groupId>
44
<artifactId>aliyun-java-sdk-emr</artifactId>
55
<packaging>jar</packaging>
6-
<version>2.2.2</version>
7-
<name>aliyun-java-sdk-emr</name>
6+
<version>2.3.2</version>
7+
<name>aliyun-java-sdk-emr</name>
88
<url>http://www.aliyun.com</url>
99
<description>Aliyun Open API SDK for Java
1010

@@ -14,12 +14,24 @@ All rights reserved.
1414
版权所有 (C)阿里云计算有限公司
1515

1616
http://www.aliyun.com</description>
17+
18+
<distributionManagement>
19+
<snapshotRepository>
20+
<id>sonatype-nexus-snapshots</id>
21+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
22+
</snapshotRepository>
23+
<repository>
24+
<id>sonatype-nexus-staging</id>
25+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
26+
</repository>
27+
</distributionManagement>
28+
1729
<dependencies>
1830
<dependency>
1931
<groupId>com.aliyun</groupId>
2032
<artifactId>aliyun-java-sdk-core</artifactId>
2133
<optional>true</optional>
22-
<version>2.4.2</version>
34+
<version>3.2.8</version>
2335
</dependency>
2436
</dependencies>
2537
<licenses>
@@ -30,8 +42,9 @@ http://www.aliyun.com</description>
3042
</license>
3143
</licenses>
3244
<scm>
33-
<url></url>
34-
<connection></connection>
45+
<connection>scm:git:git://github.com/aliyun/aliyun-openapi-java-sdk.git</connection>
46+
<developerConnection>scm:git:git@github.com:aliyun/aliyun-openapi-java-sdk.git</developerConnection>
47+
<url>https://github.com/aliyun/aliyun-openapi-java-sdk</url>
3548
</scm>
3649
<developers>
3750
<developer>
@@ -76,6 +89,31 @@ http://www.aliyun.com</description>
7689
<encoding>UTF-8</encoding>
7790
</configuration>
7891
</plugin>
92+
<plugin>
93+
<groupId>org.apache.maven.plugins</groupId>
94+
<artifactId>maven-gpg-plugin</artifactId>
95+
<version>1.5</version>
96+
<executions>
97+
<execution>
98+
<id>sign-artifacts</id>
99+
<phase>verify</phase>
100+
<goals>
101+
<goal>sign</goal>
102+
</goals>
103+
</execution>
104+
</executions>
105+
</plugin>
106+
<plugin>
107+
<groupId>org.sonatype.plugins</groupId>
108+
<artifactId>nexus-staging-maven-plugin</artifactId>
109+
<version>1.6.3</version>
110+
<extensions>true</extensions>
111+
<configuration>
112+
<serverId>sonatype-nexus-staging</serverId>
113+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
114+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
115+
</configuration>
116+
</plugin>
79117
</plugins>
80118
</build>
81-
</project>
119+
</project>
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.emr.model.v20160408;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import java.util.List;
19+
20+
/**
21+
* @author auto create
22+
* @version
23+
*/
24+
public class AddClusterServiceRequest extends RpcAcsRequest<AddClusterServiceResponse> {
25+
26+
public AddClusterServiceRequest() {
27+
super("Emr", "2016-04-08", "AddClusterService");
28+
}
29+
30+
private Long resourceOwnerId;
31+
32+
private List<Service> services;
33+
34+
private String clusterId;
35+
36+
public Long getResourceOwnerId() {
37+
return this.resourceOwnerId;
38+
}
39+
40+
public void setResourceOwnerId(Long resourceOwnerId) {
41+
this.resourceOwnerId = resourceOwnerId;
42+
if(resourceOwnerId != null){
43+
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
44+
}
45+
}
46+
47+
public List<Service> getServices() {
48+
return this.services;
49+
}
50+
51+
public void setServices(List<Service> services) {
52+
this.services = services;
53+
if (services != null) {
54+
for (int depth1 = 0; depth1 < services.size(); depth1++) {
55+
putQueryParameter("Service." + (depth1 + 1) + ".ServiceName" , services.get(depth1).getServiceName());
56+
}
57+
}
58+
}
59+
60+
public String getClusterId() {
61+
return this.clusterId;
62+
}
63+
64+
public void setClusterId(String clusterId) {
65+
this.clusterId = clusterId;
66+
if(clusterId != null){
67+
putQueryParameter("ClusterId", clusterId);
68+
}
69+
}
70+
71+
public static class Service {
72+
73+
private String serviceName;
74+
75+
public String getServiceName() {
76+
return this.serviceName;
77+
}
78+
79+
public void setServiceName(String serviceName) {
80+
this.serviceName = serviceName;
81+
}
82+
}
83+
84+
@Override
85+
public Class<AddClusterServiceResponse> getResponseClass() {
86+
return AddClusterServiceResponse.class;
87+
}
88+
89+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.emr.model.v20160408;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.emr.transform.v20160408.AddClusterServiceResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class AddClusterServiceResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
public String getRequestId() {
30+
return this.requestId;
31+
}
32+
33+
public void setRequestId(String requestId) {
34+
this.requestId = requestId;
35+
}
36+
37+
@Override
38+
public AddClusterServiceResponse getInstance(UnmarshallerContext context) {
39+
return AddClusterServiceResponseUnmarshaller.unmarshall(this, context);
40+
}
41+
}
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.emr.model.v20160408;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
19+
/**
20+
* @author auto create
21+
* @version
22+
*/
23+
public class AttachClusterForNoteRequest extends RpcAcsRequest<AttachClusterForNoteResponse> {
24+
25+
public AttachClusterForNoteRequest() {
26+
super("Emr", "2016-04-08", "AttachClusterForNote");
27+
}
28+
29+
private Long resourceOwnerId;
30+
31+
private String id;
32+
33+
private String clusterId;
34+
35+
public Long getResourceOwnerId() {
36+
return this.resourceOwnerId;
37+
}
38+
39+
public void setResourceOwnerId(Long resourceOwnerId) {
40+
this.resourceOwnerId = resourceOwnerId;
41+
if(resourceOwnerId != null){
42+
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
43+
}
44+
}
45+
46+
public String getId() {
47+
return this.id;
48+
}
49+
50+
public void setId(String id) {
51+
this.id = id;
52+
if(id != null){
53+
putQueryParameter("Id", id);
54+
}
55+
}
56+
57+
public String getClusterId() {
58+
return this.clusterId;
59+
}
60+
61+
public void setClusterId(String clusterId) {
62+
this.clusterId = clusterId;
63+
if(clusterId != null){
64+
putQueryParameter("ClusterId", clusterId);
65+
}
66+
}
67+
68+
@Override
69+
public Class<AttachClusterForNoteResponse> getResponseClass() {
70+
return AttachClusterForNoteResponse.class;
71+
}
72+
73+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.emr.model.v20160408;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.emr.transform.v20160408.AttachClusterForNoteResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class AttachClusterForNoteResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
public String getRequestId() {
30+
return this.requestId;
31+
}
32+
33+
public void setRequestId(String requestId) {
34+
this.requestId = requestId;
35+
}
36+
37+
@Override
38+
public AttachClusterForNoteResponse getInstance(UnmarshallerContext context) {
39+
return AttachClusterForNoteResponseUnmarshaller.unmarshall(this, context);
40+
}
41+
}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.emr.model.v20160408;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
19+
/**
20+
* @author auto create
21+
* @version
22+
*/
23+
public class AuthRealNameRequest extends RpcAcsRequest<AuthRealNameResponse> {
24+
25+
public AuthRealNameRequest() {
26+
super("Emr", "2016-04-08", "AuthRealName");
27+
}
28+
29+
private Long resourceOwnerId;
30+
31+
public Long getResourceOwnerId() {
32+
return this.resourceOwnerId;
33+
}
34+
35+
public void setResourceOwnerId(Long resourceOwnerId) {
36+
this.resourceOwnerId = resourceOwnerId;
37+
if(resourceOwnerId != null){
38+
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
39+
}
40+
}
41+
42+
@Override
43+
public Class<AuthRealNameResponse> getResponseClass() {
44+
return AuthRealNameResponse.class;
45+
}
46+
47+
}

0 commit comments

Comments
 (0)